home *** CD-ROM | disk | FTP | other *** search
/ C/C++ Users Group Library 1996 July / C-C++ Users Group Library July 1996.iso / listings / v_12_11 / allison / field.h < prev    next >
C/C++ Source or Header  |  1994-09-05  |  309b  |  21 lines

  1. LISTING 8 - The Field abstract class
  2. // field.h: Abstract class for data-entry fields
  3. #ifndef FIELD_H
  4. #define FIELD_H
  5.  
  6. #include <iostream.h>
  7.  
  8. class Field
  9. {
  10. public:
  11.     virtual ~Field() = 0;  // pure virtual function
  12. };
  13.  
  14. inline Field::~Field()
  15. {
  16.     cout << "~Field()" << endl;
  17. }
  18.  
  19. #endif
  20.  
  21.